package ru.nstu.isma.core.hsm;

/**
 * by Alexey Bessonov
 * Date: 24.10.13
 * Time: 23:31
 */
public class HMDerivativeEquation extends HMEquation {
    protected HMConst initial;

    public HMDerivativeEquation(String code) {
        this.code = code;
        initial = new HMUnnamedConst(0);
    }

    public HMConst getInitial() {
        return initial;
    }

    public void setInitial(HMConst initial) {
        this.initial = initial;
    }

    public void setInitial(double initial) {
        this.initial = new HMUnnamedConst(initial);
    }
}
